|
Server : LiteSpeed System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64 User : idnco5810 ( 1093) PHP Version : 8.2.29 Disable Function : NONE Directory : /proc/thread-self/root/usr/share/polkit-1/rules.d/ |
Upload File : |
// -*- mode: js2 -*-
polkit.addRule(function(action, subject) {
if ((action.id === "org.freedesktop.bolt.enroll" ||
action.id === "org.freedesktop.bolt.authorize" ||
action.id === "org.freedesktop.bolt.manage") &&
subject.active === true && subject.local === true &&
subject.isInGroup("sudo")) {
return polkit.Result.YES;
}
});